//
//  JiaYuanShareData.h
//  OneToOne
//
//  Created by Herui on 10/17/14.
//  Copyright (c) 2014 jiayuan. All rights reserved.
//

#import <Foundation/Foundation.h>

// add by herui : 2014.10.16
// 用于保存设备信息, 用户信息

#define ALPHA @"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"


@interface JiaYuanShareData : NSObject
{
}
// uid and token
@property (nonatomic, copy) NSString *uid;
@property (nonatomic, copy) NSString *token;


// 哪个vip店
@property (nonatomic, copy) NSString *shopId;
// 热线
@property (nonatomic, copy) NSString *hotLine;
// 姓名
@property (nonatomic, copy) NSString *emp_rname;
// 用户名
@property (nonatomic, copy) NSString *emp_name;
// 常驻地区
@property (nonatomic, copy) NSString *address;
// 所在地
@property (nonatomic, copy) NSString *emp_city;

// 面试状态
@property (nonatomic, copy) NSString *interviewStatus;
// 银行卡账号
@property (nonatomic, copy) NSString *bankCardNumber;
// 身份证号
@property (nonatomic, copy) NSString *idCard;


// 设备信息

@property(nonatomic,assign)BOOL isStarUpdata;//检查更新，判断是否链接
@property(nonatomic,assign)BOOL isGetUpdata;//上传点击更新，判断是否链接

@property (nonatomic, strong)NSTimer *timers;

// 单例
+ (JiaYuanShareData *)sharedInstance;

+ (BOOL)setPassword:(NSString *)password account:(NSString *)account;
+ (BOOL)deleteCurrentAccount;
+ (NSString *)currentAccount;
+ (NSString *)passwordForCurrentAccount;

+ (NSString *)stringToSortOrSpecialSymbol:(NSString *)value;//汉字转拼音和特殊字符显示
+ (BOOL)validateIDCardNumber:(NSString *)value;//验证身份证
+ (BOOL) validateMobile:(NSString *)mobile;//验证手机号
@end
